package com.xxmw.transaction.enumeration;

/**
 * socket订阅主题枚举
 * @author luowenliang
 * @since 2020/3/12 09:49
 */
public enum  TopicEnum {
    //交易对成交量
    SYMBOL_VOLUME_TOPIC("symbol$volume"),
    //交易对实时信息
    SYMBOL_REALTIME_INFO_TOPIC("symbol$realtime.info"),
    //ctc挂单量
    SYMBOL_CTC_ORDER_NUM_TOPIC("ctc$order.num"),
    //手续费
    ORDER_FEE_NUM_TOPIC("fee$order.num"),
    //ctcusdt实时成交量信息
    CTCUSDT_DEAL_TOPIC("ctcusdt$order.deal"),
    //ctceth实时成交量信息
    CTCETH_DEAL_TOPIC("ctceth$order.deal"),
    /**
     * 币安k线图
     */
    BINANCE_KLINE("binance$kline"),
    /**
     * okex k线图
     */
    OKEX_KLINE("okex$kline");

    private String desc;

    TopicEnum(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }
}
